package com.pearadmin.modules.blog.domain;


import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 文章
 *
 * @author lwb
 * @email lwbldy@163.com
 * @date 2021-04-24 19:42:16
 */
public class Article implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //标题
    private String title;
    //主图
    private String img;
    //所属分类
    private Integer typeId;
    //简介
    private String introduce;
    //是否原创
    private String original;
    //内容
    private String content;
    //点击次数
    private Integer cilckCount;
    //评论次数
    private Integer commentNumber;
    //是否热门:1热门，0不热门
    private Integer isHot;
    //标签
    private String labels;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime revisionTime;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取：标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置：主图
     */
    public void setImg(String img) {
        this.img = img;
    }

    /**
     * 获取：主图
     */
    public String getImg() {
        return img;
    }

    /**
     * 设置：所属分类
     */
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    /**
     * 获取：所属分类
     */
    public Integer getTypeId() {
        return typeId;
    }

    /**
     * 设置：简介
     */
    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    /**
     * 获取：简介
     */
    public String getIntroduce() {
        return introduce;
    }

    /**
     * 设置：是否原创
     */
    public void setOriginal(String original) {
        this.original = original;
    }

    /**
     * 获取：是否原创
     */
    public String getOriginal() {
        return original;
    }

    /**
     * 设置：内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取：内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置：点击次数
     */
    public void setCilckCount(Integer cilckCount) {
        this.cilckCount = cilckCount;
    }

    /**
     * 获取：点击次数
     */
    public Integer getCilckCount() {
        return cilckCount;
    }

    /**
     * 设置：评论次数
     */
    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }

    /**
     * 获取：评论次数
     */
    public Integer getCommentNumber() {
        return commentNumber;
    }

    /**
     * 设置：是否热门:1热门，0不热门
     */
    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    /**
     * 获取：是否热门:1热门，0不热门
     */
    public Integer getIsHot() {
        return isHot;
    }

    /**
     * 设置：标签
     */
    public void setLabels(String labels) {
        this.labels = labels;
    }

    /**
     * 获取：标签
     */
    public String getLabels() {
        return labels;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getRevisionTime() {
        return revisionTime;
    }

    public void setRevisionTime(LocalDateTime revisionTime) {
        this.revisionTime = revisionTime;
    }
}